import center from '../pages/center/center'
import login from '../pages/login/login'
import register from '../pages/register/register'
import forget from '../pages/forget/forget'
import personalCenter from '../pages/personalCenter/personalCenter'
import otc from '../pages/otc/otc'
import coin from '../pages/coin/coin'
import tradingRecord from '../pages/tradingRecord/tradingRecord'
import messageCenter from '../pages/messageCenter/messageCenter'
import messageContent from '../pages/messageContent/messageContent'
import wallet from '../pages/wallet/wallet'
import walletTransfer from '../pages/walletTransfer/walletTransfer'

export default [
  {
    path: '/login',
    name: 'login',
    component: login,
    meta: {
      keepAlive: false,
      requireAuth:false
    },
  },
  {
    path: '/register',
    name: 'register',
    component: register,
    meta: {
      keepAlive: false,
      requireAuth:false
    },
  },
  {
    path: '/forget',
    name: 'forget',
    component: forget,
    meta: {
      keepAlive: false,
      requireAuth:false
    },
  },
  {
    path: '/center',
    name: 'center',
    component: center,
    meta: {
      keepAlive: false,
      stop: false
    },
    children: [
      {
        path: '/personalCenter',
        name: 'personalCenter',
        component: personalCenter
      },
      {
        path: '/otc',
        name: 'otc',
        component: otc
      },
      {
        path: '/coin',
        name: 'coin',
        component: coin
      },
      {
        path: '/tradingRecord',
        name: 'tradingRecord',
        component: tradingRecord
      },
      {
        path: '/messageCenter',
        name: 'messageCenter',
        component: messageCenter
      },
      {
        path: '/messageContent',
        name: 'messageContent',
        component: messageContent
      },
      {
        path: '/wallet',
        name: 'wallet',
        component: wallet
      },
      {
        path: '/walletTransfer',
        name: 'walletTransfer',
        component: walletTransfer
      }
    ]
  },
]